﻿using System;
using System.Text;

class Trapezoid
{
    static void Main(string[] args)
    {
        System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;

        byte n = byte.Parse(Console.ReadLine());

        string line = new string('.', n) + new string('*', n);
        Console.WriteLine(line);

        for (int i = n-1; i > 0; i--)
        {
            line = new string('.', i) + "*" + new string('.', 2 * n - 2 - i) + "*";
            Console.WriteLine(line);
        }

        line = new string('*',2*n);
        Console.WriteLine(line);
        

     }
}
